BigCommerce\Pages\Required_Page S

Total Complexity 33
Dependencies 1
Dependents 2
Total lines 255
Lines of code 127
Logical lines of code 60
Comment lines 98
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
ensure_page_exists()
S
62 4 13
get_post_candidates()
S
55 2 20
add_post_state()
S
65 3 9
filter_content()
S
65 3 9
ensure_page_is_published()
S
63 2 11
create_post()
S
65 2 9
match_existing_post()
S
69 2 7
clear_option_on_delete()
S
71 2 6
remove_uninstalled_suffix()
S
66 2 8
__construct()
S
72 2 5
get_post_args()
S
63 1 11
set_post_id()
S
76 1 4
get_option_name()
S
81 1 3
get_post_state_label()
S
82 1 3
get_content()
S
82 1 3
get_slug()
S
100 1 0
get_title()
S
100 1 0
get_post_type()
S
82 1 3
get_post_id()
S
79 1 3